package com.chen.ssm.service.impl;

import com.chen.ssm.dao.ManagerDao;
import com.chen.ssm.entity.Manager;
import com.chen.ssm.service.ManagerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * com.chen.ssm.service.impl
 * 作者      : 陈晓
 * 描述      :
 * 创建日期  : 2017/12/11
 * 修改日期  :
 */
@Service("managerService")
public class IManagerService implements ManagerService {

  @Autowired
  private ManagerDao managerDao;

  public Manager ManagerLogin(Manager manager) {
    return managerDao.ManagerLogin(manager);
  }

  public int deleteByPrimaryKey(Integer id) {
    return 0;
  }

  public int insert(Manager record) {
    return 0;
  }

  public int insertSelective(Manager record) {
    return 0;
  }

  public Manager selectByPrimaryKey(Integer id) {
    return null;
  }

  public int updateByPrimaryKeySelective(Manager record) {
    return 0;
  }

  public int updateByPrimaryKey(Manager record) {
    return 0;
  }

  public int modifyPassword(Integer id) {
    return managerDao.modifyPassword(id);
  }
}
